﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Common.Entities;
using Common.Enums;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using TomShane.Neoforce.Controls;

namespace ClickGame.Screens
{
    public class Screen:IDisposable
    {
        public bool Initialized = false;
        public virtual void Draw(GameTime gameTime)
        {

        }
        public virtual void Update(GameTime gameTime)
        {

        }
        public virtual void LoadContent(ContentManager content)
        {
            Initialized = true;
        }
        public virtual void UnloadContent()
        {
            Initialized = false;
        }
        public virtual void ShowMessage(string message, string title, MessageType type)
        {
            
        }
        public virtual void Dispose()
        {
            Initialized = false;
            GC.WaitForPendingFinalizers();
            GC.Collect();
        }
    }
}
